import request from '@/utils/request'
import qs from 'qs'


export function securityList(data) {
  return request({
    url: '/expandFunction/accident/list',
    headers: { 'content-type': 'application/x-www-form-urlencoded' },
    method: 'POST',
    data: qs.stringify(data)
  })
}
export function addAccident(data) {
  return request({
    url: '/expandFunction/accident/save',
    method: 'POST',
    data: data
  })
}

// 03、安全生产天数 - 删除
export function deleteAccident(data) {
  return request({
    url: '/expandFunction/accident/delete',
    headers: { 'content-type': 'application/x-www-form-urlencoded' },
    method: 'POST',
    data: qs.stringify(data)
  })
}











